<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/RentAWorker.DataAccess.Entities" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/RentAWorker.DataAccess.Entities" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:59123/Customer.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import schemaLocation="http://localhost:59123/Customer.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" />
  <xs:complexType name="Customer">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q1:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="CustomerID" type="xs:int" />
          <xs:element minOccurs="0" name="MembershipID" nillable="true" type="ser:guid" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="RentalServices" nillable="true" type="tns:ArrayOfRentalService" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Customer" nillable="true" type="tns:Customer" />
  <xs:complexType name="ArrayOfRentalService">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="RentalService" nillable="true" type="tns:RentalService" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfRentalService" nillable="true" type="tns:ArrayOfRentalService" />
  <xs:complexType name="RentalService">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q2:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Customer" nillable="true" type="tns:Customer" />
          <xs:element minOccurs="0" name="CustomerReference" nillable="true" type="q2:EntityReferenceOfCustomerf7ZsOIiW" />
          <xs:element minOccurs="0" name="EndDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="RentalServiceID" type="xs:int" />
          <xs:element minOccurs="0" name="RentalServiceState" nillable="true" type="tns:RentalServiceState" />
          <xs:element minOccurs="0" name="RentalServiceStateReference" nillable="true" type="q2:EntityReferenceOfRentalServiceStatef7ZsOIiW" />
          <xs:element minOccurs="0" name="Resource" nillable="true" type="tns:RentResource" />
          <xs:element minOccurs="0" name="ResourceReference" nillable="true" type="q2:EntityReferenceOfRentResourcef7ZsOIiW" />
          <xs:element minOccurs="0" name="StartDate" type="xs:dateTime" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="RentalService" nillable="true" type="tns:RentalService" />
  <xs:complexType name="RentalServiceState">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q3="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q3:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="RentalServiceStateID" type="xs:int" />
          <xs:element minOccurs="0" name="RentalServiceStateName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="RentalServices" nillable="true" type="tns:ArrayOfRentalService" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="RentalServiceState" nillable="true" type="tns:RentalServiceState" />
  <xs:complexType name="RentResource">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q4="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q4:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Location" nillable="true" type="tns:Location" />
          <xs:element minOccurs="0" name="LocationReference" nillable="true" type="q4:EntityReferenceOfLocationf7ZsOIiW" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="RentalServices" nillable="true" type="tns:ArrayOfRentalService" />
          <xs:element minOccurs="0" name="ResourceID" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="RentResource" nillable="true" type="tns:RentResource" />
  <xs:complexType name="Location">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q5="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q5:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="LocationID" type="xs:short" />
          <xs:element minOccurs="0" name="LocationName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Resources" nillable="true" type="tns:ArrayOfRentResource" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Location" nillable="true" type="tns:Location" />
  <xs:complexType name="ArrayOfRentResource">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="RentResource" nillable="true" type="tns:RentResource" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfRentResource" nillable="true" type="tns:ArrayOfRentResource" />
  <xs:complexType name="Machine">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:RentResource">
        <xs:sequence>
          <xs:element minOccurs="0" name="MachineType" nillable="true" type="tns:MachineType" />
          <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" minOccurs="0" name="MachineTypeReference" nillable="true" type="q6:EntityReferenceOfMachineTypef7ZsOIiW" />
          <xs:element minOccurs="0" name="SerialNo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Status" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Machine" nillable="true" type="tns:Machine" />
  <xs:complexType name="MachineType">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q7="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q7:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="MachineTypeID" type="xs:short" />
          <xs:element minOccurs="0" name="MachineTypeName" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="MachineType" nillable="true" type="tns:MachineType" />
  <xs:complexType name="Worker">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:RentResource">
        <xs:sequence>
          <xs:element minOccurs="0" name="SSNo" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Worker" nillable="true" type="tns:Worker" />
  <xs:complexType name="ArrayOfCustomer">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Customer" nillable="true" type="tns:Customer" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCustomer" nillable="true" type="tns:ArrayOfCustomer" />
</xs:schema>